<?php
//+---------------
//|控制器，作者：李开涌
//+--------------
class Controller{
	
	public $smarty;
	
	public function View(){
		
		include("CleverPHP/View/Smarty/Smarty.class.php");
		
		$this->smarty=new Smarty();
		
		$smarty_config=C("smarty_config");
		
        $this->smarty->template_dir=$smarty_config["template_dir"];
      
        $this->smarty->compile_dir=$smarty_config["compile_dir"]; 
      
        $this->smarty->config_dir=$smarty_config["config_dir"];
      
        $this->smarty->cache_dir=$smarty_config["cache_dir"];
      
        $this->smarty->caching=$smarty_config["caching"];
      
        $this->smarty->left_delimiter=$smarty_config["left_delimiter"];
      
        $this->smarty->right_delimiter=$smarty_config["right_delimiter"]; 
		
	}   	
	
}
?>